/**
 * 主包路由
 */
export const MAIN_PAGES = {
  "INDEX": {
    remark: '首页',
    router: 'index/index'
  },
  "MESSAGE": {
    remark: '消息',
    router: 'message/message'
  },
  "MY": {
    remark: '我的',
    router: 'my/my'
  },
  "SERVICE_DESK": {
    remark: '服务台',
    router: 'serviceDesk/serviceDesk'
  },
  "AUTH": {
    remark: '授权',
    router: '/pages/auth/auth'
  },
  "TRANSFER": {
    remark: '科室报修的中转页面',
    router: '/pages/transfer/transfer'

  }
}

/**
 * 分包路由
 */
export const SUB_PAGES = {
  /**
   * 通用完成页面
   */
  Complete: {
    INDEX: {
      remark: "完成",
      router: '/pagesComplete/complete'
    }
  },

  /**
   * 巡检
   */
  Inspection: {
    'INSPECTION_HISTORY_INDEX': {
      remark: "巡检记录",
      router: '/pagesInspection/inspectionHistoryIndex/inspectionHistoryIndex'
    },
    'INSPECTION_HISTORY_INDEX_FILTER': {
      remark: "巡检记录",
      router: '/pagesInspection/inspectionHistoryIndexFilter/inspectionHistoryIndexFilter'
    },
    'INSPECTION_HISTORY_INDEX_DETAIL': {
      remark: "巡检记录详情",
      router: '/pagesInspection/inspectionHistoryIndexDetail/inspectionHistoryIndexDetail'
    },
    'RECTIFICATION_INDEX': {
      remark: "异常整改",
      router: '/pagesInspection/rectificationIndex/rectificationIndex'
    },
    'RECTIFICATION_INDEX_DETAIL': {
      remark: "异常整改详情",
      router: '/pagesInspection/rectificationIndexDetail/rectificationIndexDetail'
    },
    'RECTIFICATION_INDEX_FILTER': {
      remark: "异常整改筛选",
      router: '/pagesInspection/rectificationIndexFilter/rectificationIndexFilter'
    },
    "RECTIFICATION_INDEX_HANDLE": {
      remark: "异常整改-处理",
      router: '/pagesInspection/rectificationIndexHandle/rectificationIndexHandle'
    },
    'INSPECTION_TASK_INDEX': {
      remark: "巡检任务",
      router: '/pagesInspection/inspectionTaskIndex/inspectionTaskIndex'
    },
    'INSPECTION_TASK_INDEX_DETAIL': {
      remark: "巡检任务详情",
      router: '/pagesInspection/inspectionTaskIndexDetail/inspectionTaskIndexDetail'
    },
    'INSPECTION_TASK_INDEX_FILTER': {
      remark: "巡检任务筛选",
      router: '/pagesInspection/inspectionTaskIndexFilter/inspectionTaskIndexFilter'
    },
  },
  /**
   * 通话记录
   */
  CallLogs: {
    // 首页
    "INDEX": {
      remark: '通话记录首页',
      router: `/pagesCallLogs/callLogsIndex/callLogsIndex`
    },
    // 筛选
    "FILTER": {
      remark: '通话记录筛选条件页面',
      router: `/pagesCallLogs/callLogsFilter/callLogsFilter`
    }
  },
  /**
   * 工单
   */
  WorkOrder: {
    //  工单查询首页
    "WORK_ORDER_SEARCH_INDEX": {
      remark: '工单查询首页',
      router: `/pagesWorkOrder/workOrderSerachIndex/workOrderSerachIndex`
    },
    // 工单详情
    "WORK_ORDER_DETAIL": {
      remark: '工单详情',
      router: `/pagesWorkOrder/workOrderDetail/workOrderDetail`
    },
    //  工单查询筛选页面
    "WORK_ORDER_SEARCH_INDEX_FILTER": {
      remark: '工单详情',
      router: `/pagesWorkOrder/workOrderSearchIndexFilter/workOrderSearchIndexFilter`
    },
    //  工单审核首页
    "WORK_ORDER_REVIEW_INDEX": {
      remark: '工单审核',
      router: '/pagesWorkOrder/workOrderReviewIndex/workOrderReviewIndex'
    },
    // 工单审核下的驳回页面
    "WORK_ORDER_REVIEW_INDEX_REJECT": {
      remark: '工单审核/驳回',
      router: '/pagesWorkOrder/workOrderReviewIndexReject/workOrderReviewIndexReject'
    },
    // 工单审核下的筛选页面
    "WORK_ORDER_REVIEW_INDEX_FILTER": {
      remark: '工单审核/筛选',
      router: '/pagesWorkOrder/workOrderReviewIndexFilter/workOrderReviewIndexFilter'
    },
    // 我的工单
    "WORK_ORDER_MY_INDEX": {
      remark: '我的工单',
      router: '/pagesWorkOrder/workOrderMyIndex/workOrderMyIndex'
    },
    // 我的工单/处理
    "WORK_ORDER_MY_INDEX_HANDLE": {
      remark: '我的工单/处理',
      router: '/pagesWorkOrder/workOrderMyIndexHandle/workOrderMyIndexHandle'
    },
    // 评价
    "WORK_ORDER_EVA": {
      remark: '评价',
      router: '/pagesWorkOrder/workOrderEva/workOrderEva'
    }
  },

  /**
   * 通用筛选条件页面
   * 
   */
  Filter: {

    /**
     * 
     * 科室选择 或者 (科室/小组/人员)选择页面
     */
    "FILTER_DEPT_SELECT": {
      remark: '科室选择 或者 科室/小组/人员',
      router: `/pagesFilter/deptSelect/deptSelect`
    },
    /**
     * 人员选择
     */
    "FILTER_USER_SELECT": {
      remark: '人员选择页面',
      router: `/pagesFilter/userSelect/userSelect`
    },
    /**
     * 筛选页面 - 字典选择
     */
    "FILTER_DIC_SELECT": {
      remark: '字典选择',
      router: `/pagesFilter/dicSelect/dicSelect`
    },
  },

  /**
   * 报修
   */
  "REPORT": {
    remark: '报修',
    router: `/pagesReport/report`
  },

  /**
   * 隐私协议
   */
  "PRIVACY_AGREEMENT": {
    remark: '隐私协议',
    router: '/pagesPrivacyAgreement/privacyAgreement'
  },
  /**
   * 日报详情
   */
  "DAILY": {
    remark: '服务台日报详情',
    router: '/pagesDaily/daily'
  }





}